@import "config";
@import "mixin";
@import "theme";
@import "common";

* {
  outline: 0;
}

body {
  font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 36px;
  color: #333333;
}

.clearfix:after {
  content: '.';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.text-danger {
  color: $color-danger;
}

/* 全局滚动条样式 */
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, .25);
}
*::-webkit-scrollbar-button {
  display: none;
}
*::-webkit-scrollbar-thumb:hover {
  background-color: $brand-primary;
}
*::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: #d5d5d5;
}

/* 路由淡入淡出效果 */
.fade-enter-active {
  position: fixed;
  top: 36px;
  right: 0;
  left: 0;
  transition: opacity .25s .2s;
}
.fade-leave-active {
  position: fixed;
  top: 36px;
  right: 0;
  left: 0;
  transition: opacity .25s;
}
.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
  opacity: 0;
}
